<?php
namespace app\model;

use think\Model;

class UserModel extends Model
{
    // 设置表名
    protected $name = 'user';
    
    // 自动时间戳
    protected $autoWriteTimestamp = true;
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';
}
